package org.jeecg.modules.compilation.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(description = "文件vo")
public class CiDocQueryVO {
    @ApiModelProperty(value = "文件id")
    private String id;
    @ApiModelProperty(value = "文件编号")
    private String documentSn;
    @ApiModelProperty(value = "文件标题")
    private String documentTitle;
    @ApiModelProperty(value = "url")
    private String businessCategoryUrl;
    @ApiModelProperty(value = "公文类型编号")
    private String documentTypeSn;
    @ApiModelProperty(value = "公文类型名称")
    private String documentTypeName;
    @ApiModelProperty(value = "公文状态 0-废止，1-现行")
    private String enableFlag;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布时间")
    private Date publishedDate;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "废止时间")
    private Date abolitionDate;
    @ApiModelProperty(value = "发文字号")
    private String documentIdentifier;
    @ApiModelProperty(value = "业务类型名称")
    private String businessCategoryName;
    @ApiModelProperty(value = "经办部门名称")
    private String departmentName;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String  createTime;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "附件Sns")
    private String associatedAttachmentsSn;
}
